home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / PROGS / perf_harness / README < prev    next >
Encoding:
Text File  |  1998-08-12  |  1.1 KB  |  41 lines

  1.  
  2. This directory contains an example of using a simple GLUT benchmark
  3. harness to construct portable application-specific OpenGL benchmarks.
  4.  
  5. For more information on this code and how to construction
  6. application-specific OpenGL benchmarks with the gl_harness.c in this
  7. directory, see Section 6.6.8 of my book "Programming OpenGL for the X
  8. Window System" (Addison-Wesley, ISBN 0-201-48359-9).  See:
  9.  
  10.   http://reality.sgi.com/mjk_asd/OpenGLforX.html
  11.  
  12. Because the benchmark harness uses GLUT, the benchmarks created work on
  13. any GLUT-capable window system (not just X11).
  14.  
  15. Example runs:
  16.  
  17.   % torus_test
  18.   Renders/second = 2.90951
  19.     after 30 iterations over 10.311 seconds
  20.  
  21.   % torus_test -iters 40
  22.   Renders/second = 2.90846
  23.     after 40 iterations over 13.753 seconds
  24.  
  25.   % torus_test -time 5 -depth
  26.   Renders/second = 2.53678
  27.     after 15 iterations over 5.913 seconds
  28.  
  29.   % torus_test -depth -light
  30.   Renders/second = 1.82515
  31.     after 20 iterations over 10.958 seconds
  32.  
  33.   % torus_test -geometry 100x100 -depth -light
  34.   Renders/second = 2.00981
  35.     after 25 iterations over 12.439 seconds
  36.  
  37. Good luck with your benchmarking.
  38.  
  39. - Mark
  40.   July 10, 1997
  41.